<?php

namespace App\Enums;

use BenSampo\Enum\Enum;

/**
 * @method static static OptionOne()
 * @method static static OptionTwo()
 * @method static static OptionThree()
 */
final class ReturnStage extends Enum
{
    //const FIRST = 0;
    const ONE = 1;
    const TWO = 2;
    const THREE = 3;
    const FOUR = 4;
    const FIVE = 5;
    const SIX = 6;


    public static function getDescription(mixed $value): string
    {
        return match ($value) {
            //self::FIRST => '初诊',
            self::ONE => '复1',
            self::TWO => '复2',
            self::THREE => '复3',
            self::FOUR => '复4',
            self::FIVE => '复5',
            self::SIX => '复6',
            default => self::getKey($value),
        };
    }
}
